package study.cv.image.mapper.examanspage;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;

import java.util.List;

public interface ExamAnsPageMapper extends BaseMapper<ExamAnsPageEO> {

    default List<ExamAnsPageEO> getAnsPageLtBySheetId(Long sheetId) {
        QueryWrapper wrapper = Wrappers.query()
                .eq("sheet_id", sheetId);
        return selectList(wrapper);
    }
}
